The Kubernetes Bible by Nassim Kebbani

The Kubernetes Bible by Nassim Kebbani

Author:Nassim Kebbani [Kebbani, Nassim]
Language: eng
Format: epub
Tags: Kubernetes Bible, Kubernetes Book, System Administrators, Developers, DevOps Engineers, EKS, AKS, GKE, Kubernetes 1.19, Azure, AWS, Google Cloud, Advanced Kubernetes
Publisher: Packt Publishing
Published: 2022-01-21T00:00:00+00:00


Using kubectl rollout status, wait for the end of the deployment:

$ kubectl rollout status deployment nginx-deployment-example ... deployment "nginx-deployment-example" successfully rolled out

Now, let’s suppose that the new version of the application image, 1.19, is causing problems and that your team decides to roll back to the previous version of the image, which was working fine.

Use the following kubectl rollout history command to see all the revisions that are available for the Deployment:

$ kubectl rollout history deploy nginx-deployment-example deployment.apps/nginx-deployment-example REVISION CHANGE-CAUSE 1 kubectl apply --filename=./nginx-deployment-rollingupdate.yaml --record=true 2 kubectl apply --filename=./nginx-deployment-rollingupdate.yaml --record=true 3 kubectl set image deployment nginx-deployment-example nginx=nginx:1.19 --record=true



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.